package Feb_10.Task;

import java.io.Serializable;
public class Task5_1 {
    public static class student implements Serializable {
        int id;
        String name;
        String gender;

        public student(int id, String name, String gender) {
            this.id = id;
            this.name = name;
            this.gender = gender;
        }

        public void show(){
            System.out.printf("学号：%s\n姓名：%s\n性别：%s\n",id,name,gender);
        }
    }
}
